package io.renren.modules.avanotes.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户背单词记录表
 *
 * @author zzr
 * @email 529742454@qq.com
 * @date 2022-02-07 14:09:40
 */
@Data
@TableName("recite_record")
public class ReciteRecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public static String CN_ID = "id";
    public static String CN_TU_ID = "tu_id";
    public static String CN_V_ID = "v_id";
    public static String CN_DATE = "date";

    /**
     * id
     */
    @TableId
    private Long id;
    /**
     * 前端用户tb_user ID
     */
    private Long tuId;
    /**
     * 英语单词 vocabulary ID
     */
    private Long vId;
    /**
     * 背单词的日期 20220101
     */
    private Integer date;

    public ReciteRecordEntity() {
    }

    public ReciteRecordEntity(Long tuId, Long vId, Integer date) {
        this.tuId = tuId;
        this.vId = vId;
        this.date = date;
    }
}
